package cn.edu.dz.excep;

public class Test1 {
    public static void main(String[] args) {
        int a=2;
        int b=0;
        int c;
        try{
            c=a/b;
            System.out.println(c);
        }catch (ArithmeticException e){
            System.out.println("我这边出现了一个小问题");
        }finally {
            System.out.println("无论如何都会进行");
        }
    }
}
